//
//  LoginViewController.m
//  Teacher
//
//  Created by cong on 15/11/12.
//  Copyright © 2015年 liangdianxiong. All rights reserved.
//

#import "LoginViewController.h"
#import "RegisterViewController.h"
@interface LoginViewController ()
@property (weak, nonatomic) IBOutlet UITextField *tf_number;
@property (weak, nonatomic) IBOutlet UITextField *tf_password;
@property (weak, nonatomic) IBOutlet UIButton *bt_login;
@property (weak, nonatomic) IBOutlet UIButton *bt_forgetPassword;
@property (weak, nonatomic) IBOutlet UIButton *bt_register;

@end

@implementation LoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    _tf_number.placeholder=@"请输入手机号码/帐号";
    
    [_tf_number setValue:[UIColor whiteColor] forKeyPath:@"_placeholderLabel.textColor"];
    _tf_number.font = [UIFont fontWithName:@"Arial" size:18.0f];
    _tf_password.placeholder=@"请输入密码";
    [_tf_password setValue:[UIColor whiteColor] forKeyPath:@"_placeholderLabel.textColor"];
    _tf_password.font=[UIFont fontWithName:@"Arial" size:18.0f];
    
    [_bt_login addTarget:self action:@selector(loginSuecc:) forControlEvents:UIControlEventTouchUpInside];
    [_bt_register addTarget:self action:@selector(registe:) forControlEvents:UIControlEventTouchUpInside];
}

-(void)loginSuecc:(UIButton *)sender{
    
    
    
}

-(void)registe:(UIButton *)sender{
    RegisterViewController *Register=[self.storyboard instantiateViewControllerWithIdentifier:@"RegisterViewController"];
    [self presentViewController:Register animated:YES completion:nil];
    
    
}

@end
